﻿namespace BlazorProject.Entity
{
    public class ResultResponse<T> : ResultResponse
    {
        /// <summary>
        /// 数据
        /// </summary>
        public T data { get; set; }
    }
    public class ResultResponse
    {
        /// <summary>
        /// 是否成功 true:成功，false失败
        /// </summary>
        public bool success { get; set; }
        /// <summary>
        /// 错误码 0:成功
        /// </summary>
        public int code { get; set; }
        /// <summary>
        /// 错误信息
        /// </summary>
        public string msg { get; set; }
    }
}
